#include "block.h"

Block::Block()
{
    m_size = 0.0;
    numMarkers = 0;
    //m_markers = NULL;
}

Block::~Block()
{
    m_markers.clear();
}

void Block::updateSize(double size, float3 start)
{
    m_size = size;
    numMarkers = (int) size*size/4.0;
   // if (m_markers) delete m_markers;
    //m_markers = new double[numMarkers*5];
    if (m_markers.size() > 0) m_markers.clear();
    startCoord = start;
}
